package com.ys.entity.storage;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_FbaDeliverSon", catalog="Id")
public class TccFbaDeliverSon extends BaseEntity<TccFbaDeliverSon> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Pbid", nameJava="pbid", typeDataBase="varchar")
	private String pbid;
	@YsField(nameDataBase="FbaDeliverItemId", nameJava="fbaDeliverItemId", typeDataBase="bigint")
	private Long fbaDeliverItemId;
	@YsField(nameDataBase="FbaBoxId", nameJava="fbaBoxId", typeDataBase="bigint")
	private Long fbaBoxId;
	@YsField(nameDataBase="BoxNo", nameJava="boxNo", typeDataBase="varchar")
	private String boxNo;
	@YsField(nameDataBase="Transferno", nameJava="transferno", typeDataBase="varchar")
	private String transferno;
	@YsField(nameDataBase="FbaPlanBid", nameJava="fbaPlanBid", typeDataBase="varchar")
	private String fbaPlanBid;
	@YsField(nameDataBase="FbaBoxUpBid", nameJava="fbaBoxUpBid", typeDataBase="varchar")
	private String fbaBoxUpBid;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccFbaDeliverSon setId(Long id) {
		this.id = id;
		return this;
	}
	public String getPbid() {
		return pbid;
	}
	public TccFbaDeliverSon setPbid(String pbid) {
		this.pbid = pbid;
		return this;
	}
	public Long getFbaDeliverItemId() {
		return fbaDeliverItemId;
	}
	public TccFbaDeliverSon setFbaDeliverItemId(Long fbaDeliverItemId) {
		this.fbaDeliverItemId = fbaDeliverItemId;
		return this;
	}
	public Long getFbaBoxId() {
		return fbaBoxId;
	}
	public TccFbaDeliverSon setFbaBoxId(Long fbaBoxId) {
		this.fbaBoxId = fbaBoxId;
		return this;
	}
	public String getBoxNo() {
		return boxNo;
	}
	public TccFbaDeliverSon setBoxNo(String boxNo) {
		this.boxNo = boxNo;
		return this;
	}
	public String getTransferno() {
		return transferno;
	}
	public TccFbaDeliverSon setTransferno(String transferno) {
		this.transferno = transferno;
		return this;
	}
	public String getFbaPlanBid() {
		return fbaPlanBid;
	}
	public TccFbaDeliverSon setFbaPlanBid(String fbaPlanBid) {
		this.fbaPlanBid = fbaPlanBid;
		return this;
	}
	public String getFbaBoxUpBid() {
		return fbaBoxUpBid;
	}
	public TccFbaDeliverSon setFbaBoxUpBid(String fbaBoxUpBid) {
		this.fbaBoxUpBid = fbaBoxUpBid;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccFbaDeliverSon setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccFbaDeliverSon setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccFbaDeliverSon setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccFbaDeliverSon tccFbaDeliverSon(
		String pbid,
		Long fbaDeliverItemId,
		Long fbaBoxId,
		String boxNo,
		String transferno,
		String fbaPlanBid,
		String fbaBoxUpBid,
		Integer status
			) {
		TccFbaDeliverSon entity = new TccFbaDeliverSon();
		entity.setPbid(pbid);
		entity.setFbaDeliverItemId(fbaDeliverItemId);
		entity.setFbaBoxId(fbaBoxId);
		entity.setBoxNo(boxNo);
		entity.setTransferno(transferno);
		entity.setFbaPlanBid(fbaPlanBid);
		entity.setFbaBoxUpBid(fbaBoxUpBid);
		entity.setStatus(status);
		return entity;
	}
}